Optimal. Leaf size=42 \[ -\frac{11}{50} \log \left (5 x^2+3 x+2\right )+\frac{2 x}{5}+\frac{143 \tan ^{-1}\left (\frac{10 x+3}{\sqrt{31}}\right )}{25 \sqrt{31}} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.079735, antiderivative size = 42, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 5, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.217 \[ -\frac{11}{50} \log \left (5 x^2+3 x+2\right )+\frac{2 x}{5}+\frac{143 \tan ^{-1}\left (\frac{10 x+3}{\sqrt{31}}\right )}{25 \sqrt{31}} \]
Antiderivative was successfully verified.
[In] Int[(3 - x + 2*x^2)/(2 + 3*x + 5*x^2),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F] time = 0., size = 0, normalized size = 0. \[ - \frac{11 \log{\left (5 x^{2} + 3 x + 2 \right )}}{50} + \frac{143 \sqrt{31} \operatorname{atan}{\left (\sqrt{31} \left (\frac{10 x}{31} + \frac{3}{31}\right ) \right )}}{775} + \int \frac{2}{5}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((2*x**2-x+3)/(5*x**2+3*x+2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0278974, size = 42, normalized size = 1. \[ -\frac{11}{50} \log \left (5 x^2+3 x+2\right )+\frac{2 x}{5}+\frac{143 \tan ^{-1}\left (\frac{10 x+3}{\sqrt{31}}\right )}{25 \sqrt{31}} \]
Antiderivative was successfully verified.
[In] Integrate[(3 - x + 2*x^2)/(2 + 3*x + 5*x^2),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.006, size = 34, normalized size = 0.8 \[{\frac{2\,x}{5}}-{\frac{11\,\ln \left ( 5\,{x}^{2}+3\,x+2 \right ) }{50}}+{\frac{143\,\sqrt{31}}{775}\arctan \left ({\frac{ \left ( 3+10\,x \right ) \sqrt{31}}{31}} \right ) } \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((2*x^2-x+3)/(5*x^2+3*x+2),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 0.782048, size = 45, normalized size = 1.07 \[ \frac{143}{775} \, \sqrt{31} \arctan \left (\frac{1}{31} \, \sqrt{31}{\left (10 \, x + 3\right )}\right ) + \frac{2}{5} \, x - \frac{11}{50} \, \log \left (5 \, x^{2} + 3 \, x + 2\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((2*x^2 - x + 3)/(5*x^2 + 3*x + 2),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.261923, size = 55, normalized size = 1.31 \[ \frac{1}{1550} \, \sqrt{31}{\left (20 \, \sqrt{31} x - 11 \, \sqrt{31} \log \left (5 \, x^{2} + 3 \, x + 2\right ) + 286 \, \arctan \left (\frac{1}{31} \, \sqrt{31}{\left (10 \, x + 3\right )}\right )\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((2*x^2 - x + 3)/(5*x^2 + 3*x + 2),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 0.134828, size = 49, normalized size = 1.17 \[ \frac{2 x}{5} - \frac{11 \log{\left (x^{2} + \frac{3 x}{5} + \frac{2}{5} \right )}}{50} + \frac{143 \sqrt{31} \operatorname{atan}{\left (\frac{10 \sqrt{31} x}{31} + \frac{3 \sqrt{31}}{31} \right )}}{775} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((2*x**2-x+3)/(5*x**2+3*x+2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.265926, size = 45, normalized size = 1.07 \[ \frac{143}{775} \, \sqrt{31} \arctan \left (\frac{1}{31} \, \sqrt{31}{\left (10 \, x + 3\right )}\right ) + \frac{2}{5} \, x - \frac{11}{50} \,{\rm ln}\left (5 \, x^{2} + 3 \, x + 2\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((2*x^2 - x + 3)/(5*x^2 + 3*x + 2),x, algorithm="giac")
[Out]